import { RouteRecordRaw } from 'vue-router';

export default {
  path: '/errors',
  name: 'errors',
  meta: {
    icon: 'ele-CircleClose',
    title: '错误页面',
    isShow: true,
  },
  component: () => import('@/layouts/errors.vue'),
  children: [
    {
      path: '/errors/403',
      name: '403',
      meta: {
        title: '403',
        isShow: true,
      },
      component: () => import('@/views/errors/403.vue'),
    },
    {
      path: '/errors/404',
      name: '404',
      meta: {
        title: '404',
        isShow: true,
      },
      component: () => import('@/views/errors/404.vue'),
    },
    {
      path: '/errors/500',
      name: '500',
      meta: {
        title: '500',
        isShow: true,
      },
      component: () => import('@/views/errors/500.vue'),
    },
  ],
} as RouteRecordRaw;
